﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShowAllTableSchema.aspx.cs" Inherits="ShowAllTableSchema" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
        </div>
        <asp:GridView ID="gvView" runat="server" AutoGenerateColumns="False" Width="100%">
            <Columns>
                <asp:BoundField DataField="SEQ" HeaderText="SEQ" SortExpression="SEQ" />
                <asp:BoundField DataField="PK" HeaderText="PK">
                    <ItemStyle HorizontalAlign="Center" />
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="ColumnName" HeaderText="欄位名稱">
                    <HeaderStyle HorizontalAlign="Center" Width="150px" />
                </asp:BoundField>
                <asp:BoundField DataField="DataType" HeaderText="資料型態">
                    <HeaderStyle HorizontalAlign="Center" Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="MaximunLength" HeaderText="長度">
                    <ItemStyle HorizontalAlign="Center" />
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="NullAble" HeaderText="Null">
                    <ItemStyle HorizontalAlign="Center" />
                    <HeaderStyle HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="Default" HeaderText="預設值">
                    <ItemStyle HorizontalAlign="Center" />
                    <HeaderStyle HorizontalAlign="Center" Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="Descriptions" HeaderText="說明">
                    <HeaderStyle HorizontalAlign="Center" Width="150px" />
                </asp:BoundField>
            </Columns>
            <HeaderStyle BackColor="Silver" />
        </asp:GridView>
    </form>
</body>
</html>
